<template>
  <div class="mycontainer">
    <h2>父辈组件</h2>
    <SonView></SonView>
  </div>
</template>

<script>
import SonView from './SonView.vue'

export default {
  components: { SonView },
  props: {},
  data () {
    return {

    }
  },
  computed: {},
  methods: {

  },
  created () {

  },
  mounted () {

  },
}
</script>
<style scoped>
.mycontainer {
  border: 1px solid rgb(66, 4, 236);
  width: 400px;
  height: 300px;
  float: right;
}
</style>
